<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <style type="text/css">
        div{
            border: 1px solid #ff00fb;
            color: deepskyblue;
            font-size: 30px;
        }
        span{
            border: 3px dashed #2bce2f;
            color: #ef956c;
            font-size: 30px;
        }
    </style>

</head>
<body>

<div>标签1</div>
<div>标签2</div>

<br/><br/>

<span>标签1</span>
<span>标签2</span>

</body>
</html>